package example

/**
 * Created by IntelliJ IDEA.
 * User: denny
 * Date: Jul 15, 2010
 * Time: 3:14:28 PM
 * To change this template use File | Settings | File Templates.
 */

object EnvData{
  def hostName = {
    try{
      java.net.InetAddress.getLocalHost.getHostName
    }catch{
      case e:NoClassDefFoundError => "Google App Engine (disallowed/hidden)"
    }
  }
}
